package com.cai.service;

import com.cai.bean.User;
import com.cai.dao.LoginMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServicelmpl implements LoginService{
    @Autowired
    LoginMapper loginMapper;
    @Override
    public User login(User user) {

        return null;
    }

    @Override
    public boolean eroll(User user) {
        loginMapper.insertUser(user);
        return false;
    }

    @Override
    public boolean autoeroll(User user) {
        loginMapper.insertUser(user);
        return false;
    }
}
